home *** CD-ROM | disk | FTP | other *** search
- Echo off
- REM *********************************************************************/
- REM */
- REM SYSTEM : HQ-FAX, Uitilities */
- REM COPYRIGHT : (c) 1995 HTF CONSULTING */
- REM */
- REM *********************************************************************/
- REM */
- REM BAT file name: FRSEND.bat */
- REM DESCRIPTION : The FAX send batch file for the FAX96 product by */
- REM Frmont Communications */
- REM */
- REM *********************************************************************/
- REM
- if %1 == 1 goto Sendcovr
- if %1 == 2 goto Docsolo
- if %1 == 3 goto Docwcovr
- if %1 == 4 goto Docmany
- if %1 == 5 goto CDocmany
-
- CLS
- Echo Sending Document %1 without cover letter to %2
- SendFAX.exe %1.0* %2 /G %3 %4 %5
- goto Quit
-
- CLS
- :Sendcovr
- Echo Sending Cover letter solo to %3
- SendFAX.exe Covrletr.0* %3 /G %4 %5 %6
- goto Quit
-
- :Docsolo
- Echo Sending Document %2 w/out cover letter to %3
- SendFAX.exe %2.0* %3 /G %4 %5 %6
- goto Quit
-
- :Docwcovr
- Copy covrletr.001 %2.000
- SendFAX.exe %2.0* %3 /G %4 %5 %6
- goto Quit
-
- :CDocmany
- Echo Sending multi-file document "%2" with cover letter to %3
- Copy covrletr.001 %2.000
- SendFAX.exe %2.0* %3 /G %4 %5 %6
- goto Quit
-
- :Docmany
- Echo Sending multi-file document "%2" w/out cover letter to %3
- Call Renamall.bat %2 F 0
- SendFAX.exe %2.0* %3 /G %3 %4 %5
-
- :Quit
- Echo on